<html>
<#include "../common/header.ftl">

<body>
<div id="wrapper" class="toggled">

<#--边栏sidebar-->
<#include "../common/nav.ftl">

<#--主要内容content-->
    <div id="page-content-wrapper">
        <div class="container-fluid">
            <div class="row clearfix">
                <div class="col-md-12 column">
                    <form role="form" method="post"  action="/api/seller/save">
                        <div class="form-group">
                            <label>名字</label>
                            <input name="name" type="text" class="form-control" value="${shopInfo.name}"/>
                        </div>
                        <div class="form-group">
                            <label>送达</label>
                            <input name="description" type="text" class="form-control" value="${shopInfo.description}"/>
                        </div>
                        <p></p>
                        <div class="form-group">
                            <label>送达时间</label>
                            <input name="deliveryTime" type="number" class="form-control" value="${shopInfo.deliveryTime}"/>
                        </div>
                        <div class="form-group">
                            <label>综合评分</label>
                            <input name="score" type="number" class="form-control" value="${shopInfo.score}"/>
                        </div>
                        <div class="form-group">
                            <label>服务态度</label>
                            <input name="serviceScore" type="number" class="form-control" value="${shopInfo.serviceScore}"/>
                        </div>
                        <div class="form-group">
                            <label>商品评分</label>
                            <input name="foodScore" type="number" class="form-control" value="${shopInfo.foodScore}"/>
                        </div>
                        <p></p>
                        <div class="form-group">
                            <label>这是什么</label>
                            <input name="rankRate" type="number" class="form-control" value="${shopInfo.rankRate}"/>
                        </div>
                        <div class="form-group">
                            <label>最低起送价</label>
                            <input name="minPrice" type="number" class="form-control" value="${shopInfo.minPrice}"/>
                        </div>
                        <div class="form-group">
                            <label>商家配送费</label>
                            <input name="deliveryPrice" type="number" class="form-control" value="${shopInfo.deliveryPrice}"/>
                        </div>
                        <div class="form-group">
                            <label>评论数量</label>
                            <input name="ratingCount" type="number" class="form-control" value="${shopInfo.ratingCount}"/>
                        </div>
                        <div class="form-group">
                            <label>订单数量</label>
                            <input name="sellCount" type="number" class="form-control" value="${shopInfo.sellCount}"/>
                        </div>
                        <p></p>
                        <div class="form-group">
                            <label>公告</label>
                            <input name="bulletin" type="text" class="form-control" value="${shopInfo.bulletin}"/>
                        </div>
                        <div class="form-group">
                            <label>优惠信息</label>
                            <input name="supports" type="text" class="form-control" value="${shopInfo.supports}"/>
                        </div>
                        <div class="form-group">
                            <label>商铺图片</label>
                            <p></p>
                            <img height="100" width="100" src="${(shopInfo.avatar)!''}" alt="">
                            <input name="avatar" type="text" class="form-control" value="${shopInfo.avatar}"/>
                        </div>
                        <div class="form-group">
                            <label>商家图片</label>
                            <p></p>
                            <img height="100" width="100" src="${(shopInfo.pics)!''}" alt="">
                            <input name="pics" type="text" class="form-control" value="${shopInfo.pics}"/>
                        </div>
                        <p></p>
                        <div class="form-group">
                            <label>商家信息</label>
                            <input name="info" type="text" class="form-control" value="${shopInfo.info}"/>
                        </div>
                        <input hidden type="number" name="shopId" value="1">
                        <p></p>
                        <button type="submit" class="btn btn-default">保存</button>
                    </form>
                </div>
            </div>
        </div>
    </div>

</div>
</body>
</html>